WS 2007/2008 Fundamental Algorithms

نویسندگان

  • Dmytro Chibisov
  • Jens Ernst
چکیده

1. (a,b)-Trees As we saw in the previous section, the efficiency of standard operations on binary search trees depends on the maximum tree height. Using height balancing, we ensure that trees cannot degenerate linearly but instead have logarithmic height. Let us extend this approach to more general trees. Motivation: assume tree nodes are stored in secondary storage (hard disk). Comparisons of keys of binary trees would be too time expensive due to mechanical positioning of the read-write head of the hard drive. Reading blocks of data (sectors, pages, etc.) is relatively fast provided the read-write head is positioned. Idea: store blocks of data in nodes of trees ! Advantages: faster access to the data and decreasing height of trees ! (a,b)-Trees have been invented by Rudolf Bayer and Edward M. McCreight (1976). 1. (a,b)-Trees As we saw in the previous section, the efficiency of standard operations on binary search trees depends on the maximum tree height. Using height balancing, we ensure that trees cannot degenerate linearly but instead have logarithmic height. Let us extend this approach to more general trees. Motivation: assume tree nodes are stored in secondary storage (hard disk). Comparisons of keys of binary trees would be too time expensive due to mechanical positioning of the read-write head of the hard drive. Reading blocks of data (sectors, pages, etc.) is relatively fast provided the read-write head is positioned. Idea: store blocks of data in nodes of trees ! Advantages: faster access to the data and decreasing height of trees ! (a,b)-Trees have been invented by Rudolf Bayer and Edward M. McCreight (1976). 1. (a,b)-Trees As we saw in the previous section, the efficiency of standard operations on binary search trees depends on the maximum tree height. Using height balancing, we ensure that trees cannot degenerate linearly but instead have logarithmic height. Let us extend this approach to more general trees. Motivation: assume tree nodes are stored in secondary storage (hard disk). Comparisons of keys of binary trees would be too time expensive due to mechanical positioning of the read-write head of the hard drive. Reading blocks of data (sectors, pages, etc.) is relatively fast provided the read-write head is positioned. Idea: store blocks of data in nodes of trees ! Advantages: faster access to the data and decreasing height of trees ! (a,b)-Trees have been invented by Rudolf Bayer and Edward M. McCreight (1976). 1. (a,b)-Trees As we …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Randomized Algorithms for Graph Problems

Randomization is a powerful tool in the design of algorithms. In this proposal we use randomness to make progress on several old and fundamental problems. We close the approximability of feedback arc set on tournament graphs, first studied around 1961 [16], by designing a PTAS. We give a practical algorithm with improved performance for finding strongly connected components in parallel (first s...

متن کامل

Complexity analysis of BPEL Web processes

Several organizations have already realized the potential of using WS-BEPL, the Process Execution Language for Web Services, to model the behavior of Web services in business processes. WS-BPEL provides a model for describing simple or complex interactions between business partners. In some cases, WS-BPEL process designs can be highly complex, due, for example, to the vast number of Web service...

متن کامل

simpA-WS: A Simple Agent-Oriented Programming Model & Technology for Developing SOA & Web Services

Service-Oriented Architecture (SOA) is more and more recognised by the industry as the reference blueprint for building inter-operable, distributed enterprise applications based on open standards such as Web Services (WS). In the current state-of-the-art, the programming models for engineering SOA systems proposed by the leading industries are essentially component-based – typically, rooted in ...

متن کامل

A framework for ensuring consistency of Web Services Transactions

For efficiently managing Web Services (WS) transactions which are executed across multiple loosely-coupled autonomous organizations, isolation is commonly relaxed. A Web service operation of a transaction releases locks on its resources once its jobs are completed without waiting for the completions of other operations. However, those early unlocked resources can be seen by other transactions, ...

متن کامل

QoS-Based Web Service Description and Discovery

The success of the Web Service (WS) paradigm has led to a proliferation of available WSs. As these WSs are advertised in inter and intra-organizational registries/repositories, they have to be discovered based on the functional needs of the user. However, these registries rely on the current WS standard stack that uses WSDL and UDDI for WS description and discovery. Unfortunately, these two sta...

متن کامل

SMAP-WS: a parallel web service for structural proteome-wide ligand-binding site comparison

The proteome-wide characterization and analysis of protein ligand-binding sites and their interactions with ligands can provide pivotal information in understanding the structure, function and evolution of proteins and for designing safe and efficient therapeutics. The SMAP web service (SMAP-WS) meets this need through parallel computations designed for 3D ligand-binding site comparison and sim...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007